package com.wavehi.aspectj;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.*;
import org.springframework.stereotype.Component;

/**
 * @Author WaveHi
 * @Date 18/10/2021 上午 11:50
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description Encapsulate the enhancement operation.
 */
@Aspect
@Component
public class EnhancementOperationUp {

    @Pointcut(value = "execution(* com.wavehi.aspectj.Operation02.add(..))")
    public void pointCut() {

    }

    @Before(value = "pointCut()")
    public void before() {
        System.out.println("Before..");
    }

}
